/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sysadurn;

import br.ufrn.adurn.domain.Usuario;
import br.ufrn.adurn.gui.TelaBuscar;
import br.ufrn.adurn.gui.TelaCadastrarProfessor;
import br.ufrn.adurn.gui.TelaExibirProfessor;
import br.ufrn.adurn.gui.TelaLogin;
import br.ufrn.adurn.gui.TelaPrincipal;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

/**
 *
 * @author Victor
 */
public class SysADURN {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws ClassNotFoundException {


        try {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch (InstantiationException ex) {
            Logger.getLogger(TelaLogin.class.getName()).log(Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            Logger.getLogger(TelaLogin.class.getName()).log(Level.SEVERE, null, ex);
        } catch (UnsupportedLookAndFeelException ex) {
            Logger.getLogger(TelaLogin.class.getName()).log(Level.SEVERE, null, ex);
        }

//        new TelaCadastrarCentro().setVisible(true);
//        new TelaCadastrarDepto(new TelaDepartamentos()).setVisible(true);
//        new TelaBuscar("").setVisible(true);
//        new TelaPrincipal(null).setVisible(true);
        new TelaLogin().setVisible(true);
//        Usuario usuario = new Usuario();
//        usuario.setIsAdmin(true);
//        new TelaExibirProfessor(usuario).setVisible(true);

    }
}
